winforms input box

96

winforms input box -

string input = Microsoft.VisualBasic.Interaction.InputBox("Prompt", 
                       "Title", 
                       "Default", 
                       0, 
                       0);

c# winforms input -

// Follow the video to set up the rest of the project
private void btnOK_Click(object sender, EventArgs e)
{
	MessageBox.Show($"Welcome {txtName.Text}, you're {txtAge.Text} years old.");
}

Comments

Submit
0 Comments